package com.example.xiaomi.Model.entity;

import java.math.BigDecimal;

public class adddetailsEntity {
    int did;
    int cid;
    String dmail;
    int damount;
    BigDecimal totalcost;

    public String toString() {
        return "[" + did +
                "," + cid +
                "," + dmail +
                "," + damount +
                "," + totalcost +
                ']';
    }

    public adddetailsEntity(int did, int cid, String dmail, int damount, BigDecimal totalcost) {
        this.did = did;
        this.cid = cid;
        this.dmail = dmail;
        this.damount = damount;
        this.totalcost = totalcost;
    }

    public int getDid() {
        return did;
    }

    public void setDid(int did) {
        this.did = did;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public String getDmail() {
        return dmail;
    }

    public void setDmail(String dmail) {
        this.dmail = dmail;
    }

    public int getDamount() {
        return damount;
    }

    public void setDamount(int damount) {
        this.damount = damount;
    }

    public BigDecimal getTotalcost() {
        return totalcost;
    }

    public void setTotalcost(BigDecimal totalcost) {
        this.totalcost = totalcost;
    }
}
